package cn.topevery.garden.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

/**
 *  DTO
 */
@Data
@ApiModel(value = "BulletinDTO", description = " DTO")
public class BulletinDTO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /** UUID */
    @ApiModelProperty(value = "UUID")
    private String bulletinId;

    /** 标题 */
    @ApiModelProperty(value = "标题")
    private String title;

    /** 内容 */
    @ApiModelProperty(value = "内容")
    private String body;

    /** 日期 */
    @ApiModelProperty(value = "日期")
    private LocalDateTime date;

    /** 级别 */
    @ApiModelProperty(value = "级别")
    private Integer level;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 排序号 */
    @ApiModelProperty(value = "排序号")
    private Integer orderNum;

    @ApiModelProperty(value = "创建人")
    private String userName;

    private List<BulletinFileDTO> fileList;

    private List<BulletinReceiveDTO> receiveDTOS;
}
